import request from '@/utils/request'

// 查询环评报告，批复及竣工验收列表
export function listShouxu(query) {
  return request({
    url: '/environment/shouxu/list',
    method: 'get',
    params: query
  })
}

// 查询环评报告，批复及竣工验收详细
export function getShouxu(esId) {
  return request({
    url: '/environment/shouxu/' + esId,
    method: 'get'
  })
}

// 新增环评报告，批复及竣工验收
export function addShouxu(data) {
  return request({
    url: '/environment/shouxu',
    method: 'post',
    data: data
  })
}

// 修改环评报告，批复及竣工验收
export function updateShouxu(data) {
  return request({
    url: '/environment/shouxu',
    method: 'put',
    data: data
  })
}

// 删除环评报告，批复及竣工验收
export function delShouxu(esId) {
  return request({
    url: '/environment/shouxu/' + esId,
    method: 'delete'
  })
}

// 导出环评报告，批复及竣工验收
export function exportShouxu(query) {
  return request({
    url: '/environment/shouxu/export',
    method: 'get',
    params: query
  })
}